package org.tongdao.yulong.constructor;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2020年09月28日 1:38 下午
 */
public class ConstructorApplication {
  public static void main(String[] args) {
    ApplicationContext ctx = new ClassPathXmlApplicationContext("basic_dl/quickstart-annoconstructor.xml");
    Person bean = ctx.getBean(Person.class);
    System.out.println(bean);
  }
}
